-- GENERATED SPELL FOR [Steel Gate Archaeologist] --


function spell0_24400(pUnit, Event) --@Fireball,n/a--
pUnit:FullCastSpellOnTarget(9053,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24400', 3000, 1)
end

function Sorts_24400(pUnit, Event)
local choix_sorts_24400 = math.random(0, 0)
if choix_sorts_24400 == 0 then
pUnit:RegisterEvent('spell0_24400', 1, 1)
end
end

function mob24400_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24400', math.random(1500, 3000), 1)
end

function mob24400_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24400_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24400_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24400, 1, 'mob24400_Action')
RegisterUnitEvent(24400, 2, 'mob24400_Leave')
RegisterUnitEvent(24400, 3, 'mob24400_Kill')
RegisterUnitEvent(24400, 4, 'mob24400_Die')
